Skip to content

Make leaveMessage in PlayerKickEvent nullable#13804

Merged
Owen1212055 merged 3 commits intoPaperMC:mainfrom
Doc94:feature/PlayerKickEvent-nullable-leaveMessage
Apr 25, 2026
Merged

Make leaveMessage in PlayerKickEvent nullable#13804
Owen1212055 merged 3 commits intoPaperMC:mainfrom
Doc94:feature/PlayerKickEvent-nullable-leaveMessage

Conversation

@Doc94
Copy link
Copy Markdown
Member

@Doc94 Doc94 commented Apr 20, 2026

Close #13801 by make the leaveMessage nullable for make works in the same way than quitMessage

@Doc94 Doc94 requested a review from a team as a code owner April 20, 2026 15:04
@github-project-automation github-project-automation Bot moved this to Awaiting review in Paper PR Queue Apr 20, 2026
@Lulu13022002
Copy link
Copy Markdown
Contributor

Should probably change the deprecated method too then, since that's all about consistency.

@Owen1212055 Owen1212055 merged commit 7b31cc2 into PaperMC:main Apr 25, 2026
5 of 6 checks passed
@github-project-automation github-project-automation Bot moved this from Awaiting review to Merged in Paper PR Queue Apr 25, 2026
@Doc94 Doc94 deleted the feature/PlayerKickEvent-nullable-leaveMessage branch April 25, 2026 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Merged

Development

Successfully merging this pull request may close these issues.

PlayerKickEvent#leaveMessage() marked as NotNull unlike similar methods

5 participants